const getters = {
    userInfo: state => state.userInfo,
    token: state => state.userInfo.token,
    userName: state => state.userInfo.userName
}

export default getters;